package thread;

public class Demo09 {
    public static void main(String[] args) throws InterruptedException {
        Thread t1 = new Thread(() -> System.out.println("t1 thread"));
        Thread t2 = new Thread(() -> System.out.println("t2 thread"));
        t1.start(); // 一个线程只能被创建一次
        Thread.sleep(1000);
//        t1.start();
        t2.start();
    }
}
